package com.erp.erp_ui.warehouse.vo;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * @ClassName : OtherOutStockByStockVo
 * @Description : 其它出库获取库存信息出参
 * @Author : lst
 * @Date: 2020-07-29 07:16
 */
public class OtherOutStockByStockVo implements Serializable {


    /**
     * 序列码
     */
    private static final long serialVersionUID = 7449100663940543840L;

    /**
     * 库存id
     */
    private Integer stockId;

    /**
     * 产品编码
     */
    private String productCode;

    /**
     * 规格编码
     */
    private String specificationCode;

    /**
     * 合同类型(1:内销 2:外销 3:待定)
     */
    private Integer contractType;

    /**
     * 仓库id
     */
    private String warehouseId;

    /**
     * 出库数量(库存实际数量)
     */
    private BigDecimal outStockQuantity;

    /**
     * 出库申请数量
     */
    private BigDecimal outWarehouseApply;

    /**
     * 单位
     */
    private String productUnit;

    /**
     * 库存成本
     */
    private BigDecimal stockCost;

    /**
     * 成本小计
     */
    private BigDecimal costSubtotal;

    /**
     * 产品中文名称
     */
    private String productCname;

    /**
     * 产品英文名称
     */
    private String productEname;

    /**
     * 规格说明
     */
    private String specificationExplanation;

    /**
     * 批次号
     */
    private String lotNo;

    /**
     * 备注
     */
    private String memo;

    /**
     * 分摊费用单价
     */
    private BigDecimal shareCostPrice;

    /**
     * 托盘入数
     */
    private BigDecimal trayNumber;

    /**
     * 总托盘
     */
    private BigDecimal totalTray;


    public Integer getStockId() {
        return stockId;
    }

    public void setStockId(Integer stockId) {
        this.stockId = stockId;
    }

    public String getProductCode() {
        return productCode;
    }

    public void setProductCode(String productCode) {
        this.productCode = productCode;
    }

    public String getSpecificationCode() {
        return specificationCode;
    }

    public void setSpecificationCode(String specificationCode) {
        this.specificationCode = specificationCode;
    }

    public Integer getContractType() {
        return contractType;
    }

    public void setContractType(Integer contractType) {
        this.contractType = contractType;
    }

    public String getWarehouseId() {
        return warehouseId;
    }

    public void setWarehouseId(String warehouseId) {
        this.warehouseId = warehouseId;
    }

    public BigDecimal getOutStockQuantity() {
        return outStockQuantity;
    }

    public void setOutStockQuantity(BigDecimal outStockQuantity) {
        this.outStockQuantity = outStockQuantity;
    }

    public String getProductUnit() {
        return productUnit;
    }

    public void setProductUnit(String productUnit) {
        this.productUnit = productUnit;
    }

    public BigDecimal getStockCost() {
        return stockCost;
    }

    public void setStockCost(BigDecimal stockCost) {
        this.stockCost = stockCost;
    }

    public BigDecimal getCostSubtotal() {
        return costSubtotal;
    }

    public void setCostSubtotal(BigDecimal costSubtotal) {
        this.costSubtotal = costSubtotal;
    }

    public String getProductCname() {
        return productCname;
    }

    public void setProductCname(String productCname) {
        this.productCname = productCname;
    }

    public String getSpecificationExplanation() {
        return specificationExplanation;
    }

    public void setSpecificationExplanation(String specificationExplanation) {
        this.specificationExplanation = specificationExplanation;
    }

    public String getLotNo() {
        return lotNo;
    }

    public void setLotNo(String lotNo) {
        this.lotNo = lotNo;
    }

    public String getMemo() {
        return memo;
    }

    public void setMemo(String memo) {
        this.memo = memo;
    }

    public BigDecimal getShareCostPrice() {
        return shareCostPrice;
    }

    public void setShareCostPrice(BigDecimal shareCostPrice) {
        this.shareCostPrice = shareCostPrice;
    }

    public BigDecimal getTrayNumber() {
        return trayNumber;
    }

    public void setTrayNumber(BigDecimal trayNumber) {
        this.trayNumber = trayNumber;
    }

    public BigDecimal getTotalTray() {
        return totalTray;
    }

    public void setTotalTray(BigDecimal totalTray) {
        this.totalTray = totalTray;
    }

    public String getProductEname() {
        return productEname;
    }

    public void setProductEname(String productEname) {
        this.productEname = productEname;
    }

    public BigDecimal getOutWarehouseApply() {
        return outWarehouseApply;
    }

    public void setOutWarehouseApply(BigDecimal outWarehouseApply) {
        this.outWarehouseApply = outWarehouseApply;
    }

    /**
     * 重写toString
     */
    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("OtherOutStockByStockVo").append('[')
                .append("stockId=")
                .append(stockId)
                .append(",productCode=")
                .append(productCode)
                .append(",specificationCode=")
                .append(specificationCode)
                .append(",contractType=")
                .append(contractType)
                .append(",warehouseId=")
                .append(warehouseId)
                .append(",outStockQuantity=")
                .append(outStockQuantity)
                .append(",outWarehouseApply=")
                .append(outWarehouseApply)
                .append(",productUnit=")
                .append(productUnit)
                .append(",stockCost=")
                .append(stockCost)
                .append(",costSubtotal=")
                .append(costSubtotal)
                .append(",productCname=")
                .append(productCname)
                .append(",productEname=")
                .append(productEname)
                .append(",specificationExplanation=")
                .append(specificationExplanation)
                .append(",lotNo=")
                .append(lotNo)
                .append(",memo=")
                .append(memo)
                .append(",shareCostPrice=")
                .append(shareCostPrice)
                .append(",trayNumber=")
                .append(trayNumber)
                .append(",totalTray=")
                .append(totalTray)
                .append(']');
        return sb.toString();
    }
}
